package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/12/10.
 */

public class OpenBikeBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"orderModel":{"id":3437,"orderNum":"15020170112163238","status":10,"realPrice":0,"orderTime":1484209958275,"finishTime":null,"startBillingTime":1484209958275,"endBillingTime":null,"bikeOrderModel":{"bikeId":385,"picture":0,"type":2,"latitude":39.958775,"longitude":116.324055,"price":1000,"licenseTag":"20000001"},"downLatitude":0,"downLongitude":0,"onLatitude":39.958775,"onLongitude":116.324055,"licenseTag":"20000001","platform":1,"pushNumber":0,"pushTime":null,"updateLockTime":null,"lockstatus":0,"userId":150,"openPush":0},"bikeModel":{"id":385,"bikeId":385,"licenseTag":"20000001","useStatus":10,"lockStatus":1,"bikeStatus":1,"battery":127,"longitude":116.324055,"latitude":39.958775,"bikeMachineUnique":"F0:C7:7F:FA:4E:51","bikeMachinePassword":"48,48,48,48,48,48","bikeMachineKey":"32,87,47,82,54,75,63,71,48,80,65,88,17,99,45,43","lockType":2}}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * orderModel : {"id":3437,"orderNum":"15020170112163238","status":10,"realPrice":0,"orderTime":1484209958275,"finishTime":null,"startBillingTime":1484209958275,"endBillingTime":null,"bikeOrderModel":{"bikeId":385,"picture":0,"type":2,"latitude":39.958775,"longitude":116.324055,"price":1000,"licenseTag":"20000001"},"downLatitude":0,"downLongitude":0,"onLatitude":39.958775,"onLongitude":116.324055,"licenseTag":"20000001","platform":1,"pushNumber":0,"pushTime":null,"updateLockTime":null,"lockstatus":0,"userId":150,"openPush":0}
         * bikeModel : {"id":385,"bikeId":385,"licenseTag":"20000001","useStatus":10,"lockStatus":1,"bikeStatus":1,"battery":127,"longitude":116.324055,"latitude":39.958775,"bikeMachineUnique":"F0:C7:7F:FA:4E:51","bikeMachinePassword":"48,48,48,48,48,48","bikeMachineKey":"32,87,47,82,54,75,63,71,48,80,65,88,17,99,45,43","lockType":2}
         */

        private OrderModelBean orderModel;
        private BikeModelBean bikeModel;

        public OrderModelBean getOrderModel() {
            return orderModel;
        }

        public void setOrderModel(OrderModelBean orderModel) {
            this.orderModel = orderModel;
        }

        public BikeModelBean getBikeModel() {
            return bikeModel;
        }

        public void setBikeModel(BikeModelBean bikeModel) {
            this.bikeModel = bikeModel;
        }

        public static class OrderModelBean {
            /**
             * id : 3437
             * orderNum : 15020170112163238
             * status : 10
             * realPrice : 0.0
             * orderTime : 1484209958275
             * finishTime : null
             * startBillingTime : 1484209958275
             * endBillingTime : null
             * bikeOrderModel : {"bikeId":385,"picture":0,"type":2,"latitude":39.958775,"longitude":116.324055,"price":1000,"licenseTag":"20000001"}
             * downLatitude : 0.0
             * downLongitude : 0.0
             * onLatitude : 39.958775
             * onLongitude : 116.324055
             * licenseTag : 20000001
             * platform : 1
             * pushNumber : 0
             * pushTime : null
             * updateLockTime : null
             * lockstatus : 0
             * userId : 150
             * openPush : 0
             */

            private String id;
            private String orderNum;
            private int status;
            private double realPrice;
            private long orderTime;
            private Object finishTime;
            private long startBillingTime;
            private Object endBillingTime;
            private BikeOrderModelBean bikeOrderModel;
            private double downLatitude;
            private double downLongitude;
            private double onLatitude;
            private double onLongitude;
            private String licenseTag;
            private int platform;
            private int pushNumber;
            private Object pushTime;
            private Object updateLockTime;
            private int lockstatus;
            private String userId;
            private int openPush;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public double getRealPrice() {
                return realPrice;
            }

            public void setRealPrice(double realPrice) {
                this.realPrice = realPrice;
            }

            public long getOrderTime() {
                return orderTime;
            }

            public void setOrderTime(long orderTime) {
                this.orderTime = orderTime;
            }

            public Object getFinishTime() {
                return finishTime;
            }

            public void setFinishTime(Object finishTime) {
                this.finishTime = finishTime;
            }

            public long getStartBillingTime() {
                return startBillingTime;
            }

            public void setStartBillingTime(long startBillingTime) {
                this.startBillingTime = startBillingTime;
            }

            public Object getEndBillingTime() {
                return endBillingTime;
            }

            public void setEndBillingTime(Object endBillingTime) {
                this.endBillingTime = endBillingTime;
            }

            public BikeOrderModelBean getBikeOrderModel() {
                return bikeOrderModel;
            }

            public void setBikeOrderModel(BikeOrderModelBean bikeOrderModel) {
                this.bikeOrderModel = bikeOrderModel;
            }

            public double getDownLatitude() {
                return downLatitude;
            }

            public void setDownLatitude(double downLatitude) {
                this.downLatitude = downLatitude;
            }

            public double getDownLongitude() {
                return downLongitude;
            }

            public void setDownLongitude(double downLongitude) {
                this.downLongitude = downLongitude;
            }

            public double getOnLatitude() {
                return onLatitude;
            }

            public void setOnLatitude(double onLatitude) {
                this.onLatitude = onLatitude;
            }

            public double getOnLongitude() {
                return onLongitude;
            }

            public void setOnLongitude(double onLongitude) {
                this.onLongitude = onLongitude;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getPlatform() {
                return platform;
            }

            public void setPlatform(int platform) {
                this.platform = platform;
            }

            public int getPushNumber() {
                return pushNumber;
            }

            public void setPushNumber(int pushNumber) {
                this.pushNumber = pushNumber;
            }

            public Object getPushTime() {
                return pushTime;
            }

            public void setPushTime(Object pushTime) {
                this.pushTime = pushTime;
            }

            public Object getUpdateLockTime() {
                return updateLockTime;
            }

            public void setUpdateLockTime(Object updateLockTime) {
                this.updateLockTime = updateLockTime;
            }

            public int getLockstatus() {
                return lockstatus;
            }

            public void setLockstatus(int lockstatus) {
                this.lockstatus = lockstatus;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public int getOpenPush() {
                return openPush;
            }

            public void setOpenPush(int openPush) {
                this.openPush = openPush;
            }

            public static class BikeOrderModelBean {
                /**
                 * bikeId : 385
                 * picture : 0
                 * type : 2
                 * latitude : 39.958775
                 * longitude : 116.324055
                 * price : 1000
                 * licenseTag : 20000001
                 */

                private int bikeId;
                private int picture;
                private int type;
                private double latitude;
                private double longitude;
                private int price;
                private String licenseTag;

                public int getBikeId() {
                    return bikeId;
                }

                public void setBikeId(int bikeId) {
                    this.bikeId = bikeId;
                }

                public int getPicture() {
                    return picture;
                }

                public void setPicture(int picture) {
                    this.picture = picture;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public double getLatitude() {
                    return latitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public double getLongitude() {
                    return longitude;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }

                public int getPrice() {
                    return price;
                }

                public void setPrice(int price) {
                    this.price = price;
                }

                public String getLicenseTag() {
                    return licenseTag;
                }

                public void setLicenseTag(String licenseTag) {
                    this.licenseTag = licenseTag;
                }
            }
        }

        public static class BikeModelBean {
            /**
             * id : 385
             * bikeId : 385
             * licenseTag : 20000001
             * useStatus : 10
             * lockStatus : 1
             * bikeStatus : 1
             * battery : 127
             * longitude : 116.324055
             * latitude : 39.958775
             * bikeMachineUnique : F0:C7:7F:FA:4E:51
             * bikeMachinePassword : 48,48,48,48,48,48
             * bikeMachineKey : 32,87,47,82,54,75,63,71,48,80,65,88,17,99,45,43
             * lockType : 2
             */

            private String id;
            private String bikeId;
            private String licenseTag;
            private int useStatus;
            private int lockStatus;
            private int bikeStatus;
            private int battery;
            private double longitude;
            private double latitude;
            private String bikeMachineUnique;
            private String bikeMachinePassword;
            private String bikeMachineKey;
            private int lockType;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBikeId() {
                return bikeId;
            }

            public void setBikeId(String bikeId) {
                this.bikeId = bikeId;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getUseStatus() {
                return useStatus;
            }

            public void setUseStatus(int useStatus) {
                this.useStatus = useStatus;
            }

            public int getLockStatus() {
                return lockStatus;
            }

            public void setLockStatus(int lockStatus) {
                this.lockStatus = lockStatus;
            }

            public int getBikeStatus() {
                return bikeStatus;
            }

            public void setBikeStatus(int bikeStatus) {
                this.bikeStatus = bikeStatus;
            }

            public int getBattery() {
                return battery;
            }

            public void setBattery(int battery) {
                this.battery = battery;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getBikeMachineUnique() {
                return bikeMachineUnique;
            }

            public void setBikeMachineUnique(String bikeMachineUnique) {
                this.bikeMachineUnique = bikeMachineUnique;
            }

            public String getBikeMachinePassword() {
                return bikeMachinePassword;
            }

            public void setBikeMachinePassword(String bikeMachinePassword) {
                this.bikeMachinePassword = bikeMachinePassword;
            }

            public String getBikeMachineKey() {
                return bikeMachineKey;
            }

            public void setBikeMachineKey(String bikeMachineKey) {
                this.bikeMachineKey = bikeMachineKey;
            }

            public int getLockType() {
                return lockType;
            }

            public void setLockType(int lockType) {
                this.lockType = lockType;
            }
        }
    }
}
